package org.jeecg.common.modules.doctor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 医生表
 * @Author: jeecg-boot
 * @Date:   2020-08-13
 * @Version: V1.0
 */
@Data
@TableName("doctor")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="doctor对象", description="医生表")
public class Doctor implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 医生名字
     */
    @Excel(name = "医生名字", width = 15)
    @ApiModelProperty(value = "医生名字")
    private String name;

    /**
     * 医生手机号
     */
    @Excel(name = "医生手机号", width = 15)
    @ApiModelProperty(value = "医生手机号")
    private String mobile;
    /**
     * 头像
     */
    @Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String headImg;
    /**
     * 所在医院
     */
    @Excel(name = "所在医院", width = 15)
    @ApiModelProperty(value = "所在医院")
    private String hospital;
    /**
     * 职称
     */
    @Excel(name = "职称", width = 15)
    @ApiModelProperty(value = "职称")
    private String title;
    /**
     * 部门
     */
    @Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    private Integer department;
    /**
     * 性别
     */
    @Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
    private Integer sex;
    /**
     * 身份证号
     */
    @Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String idcard;
    /**
     * 所在省份
     */
    @Excel(name = "所在省份", width = 15)
    @ApiModelProperty(value = "所在省份")
    private Integer provinceId;
    /**
     * 所在城市
     */
    @Excel(name = "所在城市", width = 15)
    @ApiModelProperty(value = "所在城市")
    private Integer cityId;
    /**
     * 医生绑定微信openid
     */
    @Excel(name = "医生绑定微信openid", width = 15)
    @ApiModelProperty(value = "医生绑定微信openid")
    private String openid;
    /**
     * 微信公众号id
     */
    @Excel(name = "微信公众号id", width = 15)
    @ApiModelProperty(value = "微信公众号id")
    private String wxAccountId;
    /**
     * 微信二维码
     */
    @Excel(name = "微信二维码", width = 15)
    @ApiModelProperty(value = "微信二维码")
    private String qrCode;
    /**
     * 设备token
     */
    @Excel(name = "设备token", width = 15)
    @ApiModelProperty(value = "设备token")
    private String deviceToken;
    /**
     * 医生设备类型 1 安卓 2苹果
     */
    @Excel(name = "医生设备类型 1 安卓 2苹果", width = 15)
    @ApiModelProperty(value = "医生设备类型 1 安卓 2苹果")
    private Integer deviceType;
    /**
     * 分成比例
     */
    @Excel(name = "分成比例", width = 15)
    @ApiModelProperty(value = "分成比例")
    private Integer share;
    /**
     * 状态 0 无效 1有效
     */
    @Excel(name = "状态 0 无效 1有效", width = 15)
    @ApiModelProperty(value = "状态 0 无效 1有效")
    private Integer status;
    /**
     * 类型 0医生 1助理
     */
    @Excel(name = "类型 0医生 1助理", width = 15)
    @ApiModelProperty(value = "类型 0医生 1助理")
    private Integer businessType;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    @ApiModelProperty(value = "审核状态 0未审核  1已审核")
    /** 审核状态 0未审核 1已审核 */

    private Integer certificationStatus;
    @ApiModelProperty(value = "0 非大师 1大师")
    /** 审核状态 0非大师 1大师 */
    private Integer master;
    @ApiModelProperty(value = "1 显示 2不显示")
    private Integer isDisplay;

    @ApiModelProperty(value = "排序，越小越靠前")
    private Integer sort;

    @ApiModelProperty(value = "账号")
    private String account;
    @ApiModelProperty(value = "密码")
    private String password;
    /**
     * 头像
     */
    @Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String headImgTcm;
    private String tcmSort;
    /**
     * 东城医生id
     */
    @ApiModelProperty(value = "东城医生id")
    private String dcId;
}

